package com.atguigu.gmall.product.service;

import com.atguigu.gmall.model.product.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ManageService {
    List<BaseCategory1> getgetCategory1() ;

    List<BaseCategory2> getgetCategory2(Long category1Id);

    List<BaseCategory3> getgetCategory3(Long category2Id);

    List<BaseAttrInfo> getAttrInfoList(@Param("category1Id") Long category1Id,
                                       @Param("category2Id") Long category2Id,
                                       @Param("category3Id") Long category3Id);

    void saveAttrInfo(BaseAttrInfo baseAttrInfo);

    List<BaseAttrValue> getAttrValueList(Long attrId);
}
